package com.jy.adscm.wechat.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2019-09-23
 */
public class WechatUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 微信唯一用户编码
     */
    private String openid;
    /**
     * 用户姓名
     */
    private String name;
    /**
     * 电话
     */
    private String phone;
    /**
     * 浆站
     */
    private Integer plasmaStationId;
    @TableField(exist = false)
    private String plasmaStationName;

    private String latitude;
    private String longitude;
    private Date  createTime;

    private  String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPlasmaStationName() {
        return plasmaStationName;
    }

    public void setPlasmaStationName(String plasmaStationName) {
        this.plasmaStationName = plasmaStationName;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getPlasmaStationId() {
        return plasmaStationId;
    }

    public void setPlasmaStationId(Integer plasmaStationId) {
        this.plasmaStationId = plasmaStationId;
    }

    @Override
    public String toString() {
        return "WechatUser{" +
        "id=" + id +
        ", openid=" + openid +
        ", name=" + name +
        ", phone=" + phone +
        ", plasmaStationId=" + plasmaStationId +
        "}";
    }
}
